package com.dy.design_pattern_study.command_pattern.dome2.impl;

import com.dy.design_pattern_study.command_pattern.dome2.Barbecuer;
import com.dy.design_pattern_study.command_pattern.dome2.Command;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-19
 * @Content 烤羊肉串命令 具体的命令，执行具体的行为
 */
public class BakeMuttonCommand extends Command {

    public BakeMuttonCommand(Barbecuer receiver) {
        super(receiver);
    }

    @Override
    public void excuteCommand() {
        receiver.BakeMutton();
    }
}
